
----------------------------------------------------------------
    ${classInfo.className} object = new ${classInfo.className}();
    <#list classInfo.fieldList as field>
        <#if field.fieldClass?starts_with("String")>
            object.set${field.fieldName?cap_first}("${field.fieldClass}");//${field.fieldComment}
        <#elseif field.fieldClass?starts_with("Boolean") || field.fieldClass?starts_with("BigDecimal")>
            object.set${field.fieldName?cap_first}(new BigDecimal("0.00"));//${field.fieldComment}
        <#elseif field.fieldClass?starts_with("Boolean") || field.fieldClass?starts_with("boolean")>
            object.set${field.fieldName?cap_first}(true);//${field.fieldComment}
        <#elseif field.fieldClass?starts_with("Integer") || field.fieldClass?starts_with("int")>
            object.set${field.fieldName?cap_first}(1000);//${field.fieldComment}
        <#elseif field.fieldClass?starts_with("Long") || field.fieldClass?starts_with("long")>
            object.set${field.fieldName?cap_first}(1000L);//${field.fieldComment}
        <#else>
            object.set${field.fieldName?cap_first}(new ${field.fieldClass}());//${field.fieldComment}
        </#if>
    </#list> 
====================================================================


----------------------------------------------------------------
    ${classInfo.className}.builder()//
    <#list classInfo.fieldList as field>
        <#if field.fieldClass?starts_with("String")>
            .${field.fieldName}("${field.fieldClass}")//${field.comment}
        <#elseif field.fieldClass?starts_with("Boolean") || field.fieldClass?starts_with("boolean")>
            .${field.fieldName}(true)//${field.comment}
        <#elseif field.fieldClass?starts_with("Integer") || field.fieldClass?starts_with("int")>
            .${field.fieldName}(1000)//${field.comment}
        <#elseif field.fieldClass?starts_with("Long") || field.fieldClass?starts_with("long")>
            .${field.fieldName}(1000L)//${field.comment}
        <#else>
            .${field.fieldName}(new ${field.fieldClass}())//${field.comment}
        </#if>
    </#list>
    .build();
====================================================================